var base_url="http://localhost/echo/";
var items

//replaceSelector("#nav-one li",base_url+"lib/custom-font.php?font=amsterdam.ttf&size=14",false);
replaceSelector("#nav-one li a",base_url+"lib/custom-font.php?font=amsterdam.ttf&size=14",false);
replaceSelector(".topmenu td",base_url+"lib/custom-font.php?font=BAUHS93.ttf&size=15",true);

if(document.createElement && document.getElementsByTagName && !navigator.userAgent.match(/opera\/?6/i))
	com_stewartspeak_replacement(items);
	
$(document).ready(function(){
	$("#nav-one li").hover(
		function(){ $("ul", this).fadeIn("fast"); }, 
		function() { } 
	);
	if (document.all) {
		$("#nav-one li").hoverClass ("sfHover");
	}
});
	
$.fn.hoverClass = function(c) {
	return this.each(function(){
		$(this).hover( 
			function() { $(this).addClass(c);  },
			function() { $(this).removeClass(c); }
		);
	});
}

